export default {

  // 将微信用户信息存入vuex
  SET_USER: (state, user) => {
    console.log('进入mutation.SET_USER')
    state.user = user
  },
  
  // 将页签码存入vuex
  SET_CURRENT_TAB_INDEX: (state, current) => {
    console.log('进入mutation.SET_CURRENT_TAB_INDEX')
    state.currentTabIndex = current
  }
}